package com.crawler.demo.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.ImportResource;
import org.springframework.stereotype.Controller;

@Configuration
@ComponentScan(basePackages = {"com.crawler.demo", "com.crawler.component"}, excludeFilters = { @ComponentScan.Filter(type = FilterType.ANNOTATION, value = { Controller.class }) })
@ImportResource({"classpath:applicationContext.xml" })
public class AppConfig {

}